<html>
<head>
</head>
<body>
Total Played: <?php echo $total;?><br/>
$20: <?php echo $w1;?> (<?php echo $w1/$total;?>)<br/>
$3: <?php echo $w2;?> (<?php echo $w2/$total;?>)<br/>
$1: <?php echo $w3;?> (<?php echo $w3/$total;?>)<br/>
$0.5: <?php echo $w4;?> (<?php echo $w4/$total;?>)<br/>
$0.1: <?php echo $w5;?> (<?php echo $w5/$total;?>)<br/>
$0.05: <?php echo $w6;?> (<?php echo $w6/$total;?>)<br/>
20 Credits: <?php echo $w7;?> (<?php echo $w7/$total;?>)<br/>
5 Credits: <?php echo $w8;?> (<?php echo $w8/$total;?>)<br/>
1 Credit: <?php echo $w9;?> (<?php echo $w9/$total;?>)<br/>
Lose: <?php echo $w10;?> (<?php echo $w10/$total;?>)<br/>
<hr/>
Total Payout: $<?php echo 20*$w1+3*$w2+1*$w3+0.5*$w4+0.1*$w5+0.05*$w6;?><br/>
$ per Credit: <?php echo (20*$w1+3*$w2+1*$w3+0.5*$w4+0.1*$w5+0.05*$w6)/($total-20*$w7-5*$w8-1*$w9);?>
</body>
</html>